package elaborate.vwbe.annotation;

import java.util.*;

public class ArrayAnnotationArgument implements AnnotationArgument{
	private List<AnnotationArgument> arguments=new ArrayList<AnnotationArgument>();
	
	public List<AnnotationArgument> getArguments(){
		return this.arguments;
	}
	
	public String toString(){
		StringBuffer buffer=new StringBuffer();
		buffer.append("[");
		boolean firstArgument=true;
		for(AnnotationArgument arg : arguments){
			if(!firstArgument){
				buffer.append(",");
			}
			buffer.append(arg.toString());
			firstArgument=false;
		}
		buffer.append("]");
		return buffer.toString();
	}
}